POV-Ray : Newsgroups : povray.general : input error : input error Server Time
31 Jul 2024 10:25:21 EDT (-0400)
  input error  
From: Peter
Date: 23 Apr 2007 12:10:02
Message: <web.462cd8f81f57cbd152cb473b0@news.povray.org>
hello,
 I am new here and like to get a 3D image from a normal grayscale gif image.

What I made:
---------------------------------------
// das bild
#declare inpfile = "bild.gif"
// die Farben
#declare himmel = rgb <.4,.4, 1>
#declare daten = rgb <2.5,1.7,0>*.8
// die Kamera
camera{
       location <0, 10, -10>    // Kamera-Koordinaten
       look_at <0, 0, -1.3>     // Kamera-Blickpunkt
       angle 40
}
background { himmel }
light_source{ < -1000,1000,-1000> .8}
light_source{ <  1000, 000, 1000> .2 shadowless}
light_source{ <   000,1000,  000> .2 shadowless}
height_field {
             gif inpfile
             smooth
             translate <-.5, -.5, -.5>
             rotate <0, 0, 0 >
             scale <10, 1, 10>
             pigment {daten}
}
-------------------------------------------------
But the result is only the error file with:
Scene File Parser Initialization Error: Cannot open input file.

What is the right directory for my input picture ? Or what is my error ?

Thank you
Peter


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.